package top.aicats.pattern.decoratorAndObserver.decorator;

public class YuyinChargesDecorator extends BaseChargesDecorator {

    private Charges charges;
    public YuyinChargesDecorator(Charges charges) {
        super(charges);
    }

    @Override
    public int getCost() {
        return super.getCost() + 5;
    }

    @Override
    public String getMsg() {
        return super.getMsg() + ",语音5元";
    }
}
